package chp07;

public class Test7 {

    public static void main(String[] args) {
        int[] nums = {10,20,30,40,50};
        //循环打印数组里面的每个值
        for(int i = 0; i < nums.length; i++){
            System.out.println(nums[i]);
        }
    }
}
